$(document).ready(function () {
var _0x86ecx1 = document.getElementById('cb-nexxe__social__sticky');
if (ips.utils.cookie.get('social_list') == '1') {
_0x86ecx1.classList.remove('social_hidden');
_0x86ecx1.classList.add('social_show')
} else {
if (ips.utils.cookie.get('social_list') == '0') {
_0x86ecx1.classList.remove('social_show');
_0x86ecx1.classList.add('social_hidden')
}
};
if (ips.utils.cookie.get('userTheme_color') == 'dark') {
document.documentElement.classList.remove('theme--light');
document.documentElement.classList.add('theme--dark')
} else {
if (ips.utils.cookie.get('userTheme_color') == 'light') {
document.documentElement.classList.remove('theme--dark');
document.documentElement.classList.add('theme--light')
}
};
$('#switch__color').click(function (_0x86ecx2) {
if (document.documentElement.classList.contains('theme--dark')) {
document.documentElement.classList.remove('theme--dark');
document.documentElement.classList.add('theme--light');
ips.utils.cookie.unset('userTheme_color');
ips.utils.cookie.set('userTheme_color', 'light', true)
} else {
document.documentElement.classList.remove('theme--light');
document.documentElement.classList.add('theme--dark');
ips.utils.cookie.unset('userTheme_color');
ips.utils.cookie.set('userTheme_color', 'dark', true)
}
})
});
$(document).ready(function () {
var _0x86ecx1 = document.getElementById('cb-nexxe__social__sticky');
$('#cb-nexxe__social__button--switch').click(function (_0x86ecx2) {
if (_0x86ecx1.classList.contains('social_hidden')) {
_0x86ecx1.classList.remove('social_hidden');
_0x86ecx1.classList.add('social_show');
ips.utils.cookie.unset('social_list');
ips.utils.cookie.set('social_list', 1, true)
} else {
_0x86ecx1.classList.remove('social_show');
_0x86ecx1.classList.add('social_hidden');
ips.utils.cookie.unset('social_list');
ips.utils.cookie.set('social_list', 0, true)
}
})
});
$(window).scroll(function () {
var _0x86ecx3 = $(window).scrollTop();
var _0x86ecx4 = $('#ipsLayout_header');
var _0x86ecx5 = _0x86ecx4.offset().top;
if (_0x86ecx3 > _0x86ecx5) {
$('.ipsApp').addClass('sticky');
$('.ipsApp').removeClass('nosticky')
} else {
$('.ipsApp').removeClass('sticky');
$('.ipsApp').addClass('nosticky')
}
});
jQuery(document).ready(function (_0x86ecx6) {
document.getElementById('cb-nexxe__bottom__content--menu').insertAdjacentHTML('beforeend', '<span class="cb--nexxe__author--theme" style="display:block !important; visibility: visible; opacity: 1 !important; z-index: 9 !important; position: relative !important;">Theme by <i class="fas fa-heart"></i> <a href="https://codebite.dev" style="display:inline-block !important; visibility: visible; opacity: 1 !important;" data-ipstooltip="" _title="Author theme">CodeBite.dev</a></span>')
});
jQuery(document).ready(function (_0x86ecx6) {
_0x86ecx6("a[href='#top']").click(function () {
_0x86ecx6('html, body').animate({
scrollTop: 0
}, 'slow');
return false
})
})